﻿using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;

namespace SOEI.Solution.DomainEntities.ContractManagement
{
    /// <summary>交易合同买卖双方信息
    /// </summary>
    [Table("CLFWQ_HTMMSFXX")]
    public class ContractBoth : Entity<string>
    {
        /// <summary>编号
        /// </summary>
        [Column("BH")]
        public override string Id { get; set; }

        /// <summary>姓名
        /// </summary>
        [Column("XM")]
        public string XM { get; set; }

        /// <summary>证件类型
        /// </summary>
        [Column("ZJLX")]
        public string ZJLX { get; set; }

        [Column("ZJHM")]
        public string ZJHM { get; set; }

        /// <summary>联系电话
        /// </summary>
        [Column("LXDH")]
        public string LXDH { get; set; }

        /// <summary>通讯地址
        /// </summary>
        [Column("TXDZ")]
        public string TXDZ { get; set; }

        /// <summary>双方类别代码
        /// </summary>
        [Column("SFLBDM")]
        public string SFLBDM { get; set; }

        /// <summary>合同登记号
        /// </summary>
        [Column("HTDJH")]
        public string HTDJH { get; set; }

        /// <summary>证件类型代码
        /// </summary>
        [Column("ZJLXDM")]
        public string ZJLXDM { get; set; }

        /// <summary>法定代表人、负责人类型
        /// </summary>
        [Column("FDDBRLX")]
        public string FDDBRLX { get; set; }

        /// <summary>法定代表人
        /// </summary>
        [Column("FDDBR")]
        public string FDDBR { get; set; }

        /// <summary>国籍名称
        /// </summary>
        [Column("GJMC")]
        public string GJMC { get; set; }

        /// <summary>户籍名称
        /// </summary>
        [Column("HJMC")]
        public string HJMC { get; set; }

        /// <summary>国籍代码
        /// </summary>
        [Column("GJDM")]
        public string GJDM { get; set; }
    }
}
